package net.hn.hnms.biz.energy.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("用水结算")
public class WaterSettlementReq extends BaseReq{

    @ApiModelProperty(value = "id")
    private String waterSettleId;

    @ApiModelProperty(value = "供水单位ID")
    private String waterSupplyCompanyId;

    @ApiModelProperty(value = "供水单位名称")
    private String waterSupplyCompanyName;

    @ApiModelProperty(value = "用水地点ID")
    private String waterPlaceId;

    @ApiModelProperty(value = "用水地点名称")
    private String waterPlaceName;

    @ApiModelProperty(value = "用水单价")
    private BigDecimal waterUnitPrice;

    @ApiModelProperty(value = "上次抄表值")
    private BigDecimal lastMeterValue;

    @ApiModelProperty(value = "上次抄表日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date lastMeterDate;

    @ApiModelProperty(value = "本次抄表值")
    private BigDecimal meterValue;

    @ApiModelProperty(value = "本次抄表日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date meterDate;

    @ApiModelProperty(value = "用水量（m3）")
    private BigDecimal waterConsumption;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "煤矿编码")
    private String mineCode;

    @ApiModelProperty(value = "煤矿名称")
    private String mineName;

    @ApiModelProperty(value = "公司编码")
    private String companyCode;

    @ApiModelProperty(value = "用水类型")
    private String waterUnitCategory;

}
